﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using WPFDevelopers.Samples.Helpers;

namespace WPFDevelopers.Samples.ViewModels
{
    public class MemberInfoVM : ViewModelBase
    {
        public MemberManageModelVM modelVM { get; set; }
        public MemberInfoVM(MemberManageModelVM member)
        {
            if (member == null)
                modelVM = new MemberManageModelVM();
            else
                modelVM = member;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public bool Save()
        {
            var dfdf = this.modelVM;
            return true;
        }
    }
}
